<template>
    <div>
        <van-search v-model="value" placeholder="请输入搜索关键词" @search="sou" />
    </div>
</template>

<script setup>
import { useRouter } from 'vue-router';

let router =useRouter()
const sou=()=>{
router.push('/search')
}
</script>

<style lang="scss" scoped></style>